﻿<UserControl x:Class="DiscoveryLogic.UI.Layouts.Controls.TradeHistoryTradeMarker"
    xmlns="http://schemas.microsoft.com/client/2007" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Width="13" Height="15">
    <Canvas x:Name="LayoutRoot" MouseLeave="ArrowPath_MouseLeave">
        <Canvas.RenderTransform>
            <ScaleTransform x:Name="IconScale" ScaleX="1" ScaleY="1" CenterX="7" CenterY="7"/>
        </Canvas.RenderTransform>
        
        <!-- Down Arrow -->
        <Canvas x:Name="DownArrow">
            <Path x:Name="DownArrowPath" Width="13.546" Height="13.962" Stretch="Fill" Stroke="#FF003F86" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.7" Data="M7.9939964,0.25 L21.826996,0.25 C22.931565,0.24999994 23.826996,1.1454304 23.826996,2.2499997 L22.493486,13.166667 27.08212,13.166667 15.082698,25.166557 2.9171702,13 7.3273831,13 5.9939961,2.2499997 C5.9939961,1.1454304 6.8894266,0.24999994 7.9939964,0.25 z"
                  MouseEnter="ArrowPath_MouseEnter"
                  >
                <Path.Fill>
                    <LinearGradientBrush EndPoint="0.51,1.41" StartPoint="0.5,0">
                        <GradientStop Color="#FF6396CE" Offset="0.71"/>
                        <GradientStop Color="#FF7FBBFF" Offset="0.808"/>
                        <GradientStop Color="#FFE6F2FD" Offset="0.04"/>
                        <GradientStop Color="#FF7DB0E4" Offset="0.165"/>
                        <GradientStop Color="#FFFFFFFF" Offset="0.594"/>
                        <GradientStop Color="#FF91BCE8" Offset="0"/>
                    </LinearGradientBrush>
                </Path.Fill>
            </Path>
            <Path x:Name="DownArrowReflection" Width="13.546" Height="13.962" Stretch="Fill" Stroke="#FF003F86" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.7" Data="M7.9939964,0.25 L21.826996,0.25 C22.931565,0.24999994 23.826996,1.1454304 23.826996,2.2499997 L22.493486,13.166667 27.08212,13.166667 15.082698,25.166557 2.9171702,13 7.3273831,13 5.9939961,2.2499997 C5.9939961,1.1454304 6.8894266,0.24999994 7.9939964,0.25 z" RenderTransformOrigin="0.5,0.5" Canvas.Top="14.502">
                <Path.Fill>
                    <LinearGradientBrush EndPoint="0.51,1.41" StartPoint="0.5,0">
                        <GradientStop Color="#FF6396CE" Offset="0.71"/>
                        <GradientStop Color="#FF7FBBFF" Offset="0.808"/>
                        <GradientStop Color="#FFE6F2FD" Offset="0.04"/>
                        <GradientStop Color="#FF7DB0E4" Offset="0.165"/>
                        <GradientStop Color="#FFFFFFFF" Offset="0.594"/>
                        <GradientStop Color="#FF91BCE8" Offset="0"/>
                    </LinearGradientBrush>
                </Path.Fill>
                <Path.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleX="1" ScaleY="1"/>
                        <SkewTransform AngleX="0" AngleY="0"/>
                        <RotateTransform Angle="180"/>
                        <TranslateTransform X="0" Y="0"/>
                    </TransformGroup>
                </Path.RenderTransform>
                <Path.OpacityMask>
                    <LinearGradientBrush EndPoint="0.525,1.697" StartPoint="0.525,0.384">
                        <GradientStop Color="#00FFFFFF" Offset="0"/>
                        <GradientStop Color="#FFFFFFFF" Offset="1"/>
                    </LinearGradientBrush>
                </Path.OpacityMask>
            </Path>
            <TextBlock x:Name="DownArrowId" Width="5.19" Height="8.667" Canvas.Left="4.191" Canvas.Top="1.607" FontFamily="Trebuchet MS" FontSize="8" FontWeight="Bold" Text="1" />
		</Canvas>

        <!-- Up Arrow -->
        <Canvas x:Name="UpArrow">
            <Path x:Name="UpArrowPath" Width="13.546" Height="13.962" Stretch="Fill" Stroke="#FF003F86" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.7" Data="M7.9939964,0.25 L21.826996,0.25 C22.931565,0.24999994 23.826996,1.1454304 23.826996,2.2499997 L22.493486,13.166667 27.08212,13.166667 15.082698,25.166557 2.9171702,13 7.3273831,13 5.9939961,2.2499997 C5.9939961,1.1454304 6.8894266,0.24999994 7.9939964,0.25 z" RenderTransformOrigin="0.5,0.5"
                  MouseEnter="ArrowPath_MouseEnter"
                  >
                <Path.Fill>
                    <LinearGradientBrush EndPoint="0.475,-0.363" StartPoint="0.468,0.978">
                        <GradientStop Color="#FF6396CE" Offset="0.71"/>
                        <GradientStop Color="#FF7FBBFF" Offset="0.808"/>
                        <GradientStop Color="#FFE6F2FD" Offset="0.04"/>
                        <GradientStop Color="#FF7DB0E4" Offset="0.165"/>
                        <GradientStop Color="#FFFFFFFF" Offset="0.594"/>
                        <GradientStop Color="#FF91BCE8" Offset="0"/>
                    </LinearGradientBrush>
                </Path.Fill>
                <Path.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleX="1" ScaleY="1"/>
                        <SkewTransform AngleX="0" AngleY="0"/>
                        <RotateTransform Angle="180"/>
                        <TranslateTransform X="0" Y="0"/>
                    </TransformGroup>
                </Path.RenderTransform>
            </Path>
            <Path x:Name="UpArrowReflection" Width="13.546" Height="13.962" Stretch="Fill" Stroke="#FF003F86" StrokeEndLineCap="Round" StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeThickness="0.7" Data="M7.9939964,0.25 L21.826996,0.25 C22.931565,0.24999994 23.826996,1.1454304 23.826996,2.2499997 L22.493486,13.166667 27.08212,13.166667 15.082698,25.166557 2.9171702,13 7.3273831,13 5.9939961,2.2499997 C5.9939961,1.1454304 6.8894266,0.24999994 7.9939964,0.25 z" RenderTransformOrigin="0.5,0.5" Canvas.Left="0.011" Canvas.Top="15.917">
                <Path.Fill>
                    <LinearGradientBrush EndPoint="0.51,1.41" StartPoint="0.5,0">
                        <GradientStop Color="#FF6396CE" Offset="0.71"/>
                        <GradientStop Color="#FF7FBBFF" Offset="0.808"/>
                        <GradientStop Color="#FFE6F2FD" Offset="0.04"/>
                        <GradientStop Color="#FF7DB0E4" Offset="0.165"/>
                        <GradientStop Color="#FFFFFFFF" Offset="0.594"/>
                        <GradientStop Color="#FF91BCE8" Offset="0"/>
                    </LinearGradientBrush>
                </Path.Fill>
                <Path.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleX="1" ScaleY="1"/>
                        <SkewTransform AngleX="0" AngleY="0"/>
                        <RotateTransform Angle="360"/>
                        <TranslateTransform X="0" Y="0"/>
                    </TransformGroup>
                </Path.RenderTransform>
                <Path.OpacityMask>
                    <LinearGradientBrush EndPoint="0.5,-0.96" StartPoint="0.5,0.604">
                        <GradientStop Color="#00FFFFFF" Offset="0"/>
                        <GradientStop Color="#FFFFFFFF" Offset="1"/>
                    </LinearGradientBrush>
                </Path.OpacityMask>
            </Path>
            <TextBlock x:Name="UpArrowId" Width="5.19" Height="8.667" FontFamily="Trebuchet MS" FontSize="8" FontWeight="Bold" Text="2" Canvas.Left="4.369" Canvas.Top="3.857"/>
		</Canvas>
    </Canvas>
</UserControl>
